home *** CD-ROM | disk | FTP | other *** search
-
- Short: adds items to the 'tools' menu - V 1.5
- Uploader: md2133@mclink.it
- Author: md2133@mclink.it (Luca Di Massimo)
- Type: util/wb
- Requires: Wb 3.x
- Version: 1.5 (20/7/1997)
-
-
- What it does:
- -------------
-
- MoreTools is a simple utility able to add items to the Workbench
- "Tools" menu to run programs or execute commands; you can also pass
- them a parameter by selecting some icons before.
-
-
- Disclaimer:
- -----------
-
- This program is provided "as is", without any kind of warranty. I
- have taken every care in developing it, but I am not renponsible
- of any damage it can cause. Use it a your own risk.
-
-
- Copyright:
- ----------
-
- MT is freeware/e-mailware:it can be copied and distributed freely
- on the condition that no profit is gained from its distribuition.
- If you find it useful please send me an e-mail or a postcard;
- my snail-mail address is:
- Luca Di Massimo - Via A.Silvani 69 - 00139 Rome (Italy)
-
-
- Usage:
- ------
-
- MT can be started:
- - from Wb, double-clicking on its icon or putting it in the "Wb-
- startup" drawer;
- - from CLI, using the command "run >NIL: MoreTools". You can put
- this command in your startup-sequence too (_after_ "LoadWb").
-
- The configuration file is "s:MTData" by default; you can use
- another file specifying it in tooltypes or passing it as parameter.
-
-
- Configuration file:
- -------------------
-
- You can write it with whatever text-editor; for every item to add
- you have to write two lines:
-
- - the first must start with the word "ITEM", followed by the name
- of the item;
- - the second must start with the word "COMMAND", followed by the
- program to run with full path:
- ITEM Calculator
- COMMAND Workbench:tools/calculator
-
- To pass selected icon like a parameter you have to insert "%s" in
- the COMMAND line:
- ITEM Show
- COMMAND Workbench:utilities/Multiview %s
- So, selecting an icon and then the item "Show", MultiView is
- started and the object linked to the icon is loaded.
-
- To pass a filename or a directory as parameter using a filerequester
- use "%f" instead of %s:
- ITEM Ed text
- COMMAND Ed %f
-
- It is possible to use only one "%s" per line; there is no limit
- for "%f".
-
- There are two other commands you can use:
- "MTQUIT": adds "quit MoreTools" like last item; you can select it
- to quit the program;
- "MTCHANGE": adds "MoreTools" like last item; it permits to quit the
- program or to reconfigure the menu selecting the data
- file (it needs asl.library to work).
-
- If both of them are present, "MTQUIT" is ignored; if none is pre-
- sent you can quit only using the DOS command "break".
-
- In this archive you should find an example of configuration file
- named "MTData.example".
-
-
- Parameters and tooltypes:
- -------------------------
-
- The template is "FILE/K,REQUESTER/S,MTCHANGE/s,MTQUIT/S"
- FILE <filename>: MT uses the specified file to build menu.
- REQUESTER: MT asks for a filename when started.
- MTCHANGE: MT puts always "MoreTools" as last item.
- MTQUIT: MT puts always "quit MoreTools" as last item.
-
-
- Known problems:
- ---------------
-
- Malfunctions have been reported with Brilliance, AdPro and Bomb!.
- I hope to fix it in a future release.
-
-
- Greetings:
- ----------
-
- Thanks to Lamar Mclouth, Pierre Sylvestre and Hans Peter Koegler
- for suggestions and bug reporting.
-
-
- Changes from older versions:
- ----------------------------
-
- 1.5 Fixed a strange bug (it not appears on my A1200; I've found
- it trying MT on a A4000): if an item is chosen but no icon is
- selected, a wrong string is passed as parameter;
- now you can use %f to use to choose a file or a directory
- using the asl filerequester.
-
- 1.4 It's possible to specify the configuration file using a file
- requester or passing it using ToolTypes;
- fixed a bug (if the given configuration file was without data
- MT didn't clean the menu).
-
- 1.3 It is possible to reconfigure the menu using the asl.requester
- to choose a data file.
-
- 1.2 Item "quit MoreTools" is now optional;
- it is possible to quit also using the "break" DOS command.
-
- 1.1 Added the possibility to pass the configuration-file name as
- parameter.
-
-
-